package com.deercrowing.takeaway.common.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "wechat-token")
public class AppProperties {
    private String encodedSecretKey;

    private Integer lifeSpan;
}
